package com.eorchis.util;
/**
 * Title: SqlQueryUtil<br>
 * Description: <br>
 * Company: GoldGov<br>
 * Copyright @ 2012 GoldGov .All rights reserved.<br>
 * @createDate 2014-06-06
 * @version $Revision$
 */
public class SqlQueryUtil 
{
	/**
	 * 查询时每个字符间添加%模糊查询
	 * @param commond
	 * @return
	 * @throws Exception
	 * @author HuangTF
	 * @createDate 2014-06-06
	 */
	public static String changeString(String str)
	{
		char[] chars=str.toCharArray();
		str="%";
		for(char c: chars)
		{
			str+=c+"%";
		}
		return str;
	}

}
